package com.hanthink.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.hanthink.system.mapper.EmClosemachineLogMapper;
import com.hanthink.system.domain.EmClosemachineLog;
import com.hanthink.system.service.IEmClosemachineLogService;

/**
 * -Service业务层处理
 * 
 * @author hanthink
 * @date 2022-03-30
 */
@Service
public class EmClosemachineLogServiceImpl implements IEmClosemachineLogService 
{
    @Autowired
    private EmClosemachineLogMapper emClosemachineLogMapper;

    /**
     * 查询-
     * 
     * @param id -ID
     * @return -
     */
    @Override
    public EmClosemachineLog selectEmClosemachineLogById(String id)
    {
        return emClosemachineLogMapper.selectEmClosemachineLogById(id);
    }

    /**
     * 查询-列表
     * 
     * @param emClosemachineLog -
     * @return -
     */
    @Override
    public List<EmClosemachineLog> selectEmClosemachineLogList(EmClosemachineLog emClosemachineLog)
    {
        return emClosemachineLogMapper.selectEmClosemachineLogList(emClosemachineLog);
    }

    /**
     * 新增-
     * 
     * @param emClosemachineLog -
     * @return 结果
     */
    @Override
    public int insertEmClosemachineLog(EmClosemachineLog emClosemachineLog)
    {
        return emClosemachineLogMapper.insertEmClosemachineLog(emClosemachineLog);
    }

    /**
     * 修改-
     * 
     * @param emClosemachineLog -
     * @return 结果
     */
    @Override
    public int updateEmClosemachineLog(EmClosemachineLog emClosemachineLog)
    {
        return emClosemachineLogMapper.updateEmClosemachineLog(emClosemachineLog);
    }

    /**
     * 批量删除-
     * 
     * @param ids 需要删除的-ID
     * @return 结果
     */
    @Override
    public int deleteEmClosemachineLogByIds(String[] ids)
    {
        return emClosemachineLogMapper.deleteEmClosemachineLogByIds(ids);
    }

    /**
     * 删除-信息
     * 
     * @param id -ID
     * @return 结果
     */
    @Override
    public int deleteEmClosemachineLogById(String id)
    {
        return emClosemachineLogMapper.deleteEmClosemachineLogById(id);
    }
}
